<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!-- saved from url=(0050)http://sx.web51.youxueshop.com/flow.php?step=login -->
<html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta name="Generator" content="{$title}">
    <meta name="Keywords" content="{$title}">
    <meta name="Description" content="{$title}">
    <title>{$title}</title>
    <link href="__HOMECSS__/cart.css" rel="stylesheet" type="text/css">

    <script type="text/javascript" src="__HOMEJS__/common.js"></script>
    <script type="text/javascript" src="__HOMEJS__/shopping_flow.js"></script>
</head>
<body>
<script type="text/javascript" src="__HOMEJS__/jquery-1.9.1.min.js"></script>
<script type="text/javascript" src="__HOMEJS__/jquery.json.js"></script>
<script type="text/javascript" src="__HOMEJS__/transport_jquery.js"></script>
<script type="text/javascript" src="__HOMEJS__/utils.js"></script>
<script type="text/javascript" src="__HOMEJS__/jquery.SuperSlide.js"></script>
<script type="text/javascript" src="__HOMEJS__/lizi_common.js"></script><div id="header">
    <div class="hd_bar" id="userinfo-bar">
        <div class="bd">
            <div class="logo"><a href="/">FD商城</a></div>
            <div class="hd_lbar" style="display: block;" id="ECS_MEMBERZONE">
                <a href="/" rel="nofollow">FD商城首页</a>
                <a href="{:U('Login/login')"><i class="iconfont">Œ</i>登 录</a>
                <a href="{:U('Login/register')">注册</a>
            </div>
            <ul class="hd-step">
                <li><em>1</em>我的购物车<i></i></li>
                <li class="jt">&nbsp;</li>
                <li><em>2</em>确认订单信息<i></i></li>
                <li class="jt">&nbsp;</li>
                <li><em>3</em>成功提交订单<i></i></li>
            </ul>
        </div>
    </div>
</div>
<script type="text/javascript" src="__HOMEJS__/lizi_flow.js"></script>
<script type="text/javascript" src="__HOMEJS__/user.js"></script>
<script type="text/javascript">
    var username_not_null = "请您输入用户名。";
    var username_invalid = "您输入了一个无效的用户名。";
    var password_not_null = "请您输入密码。";
    var password_not_same = "您输入的密码和确认密码不一致。";
    var password_lt_six = "密码不能小于6个字符。";
    $(function(){
        $(".input_box").click(function(){
            $(this).find(".t_text").hide();
            $(this).find("input").focus();
        });

        $(".input_box").focusin(function(){
            $(this).find(".t_text").hide();
        });

        $(".input_box").focusout(function(){
            if($(this).find("input").val() == "")
            {
                $(this).find(".t_text").show();
            }
        })
    });

    function checkLoginForm(frm) {
        if (Utils.isEmpty(frm.elements['username'].value)) {
            alert(username_not_null);
            return false;
        }
        if (Utils.isEmpty(frm.elements['password'].value)) {
            alert(password_not_null);
            return false;
        }
        return true;
    }

    function checkSignupForm(frm) {
        if (Utils.isEmpty(frm.elements['username'].value)) {
            alert(username_not_null);
            return false;
        }
        if (Utils.trim(frm.elements['username'].value).match(/^\s*$|^c:\\con\\con$|[%,\'\*\"\s\t\<\>\&\\]/))
        {
            alert(username_invalid);
            return false;
        }
        if (Utils.isEmpty(frm.elements['password'].value)) {
            alert(password_not_null);
            return false;
        }
        if (frm.elements['password'].value.length < 6) {
            alert(password_lt_six);
            return false;
        }
        if (frm.elements['password'].value != frm.elements['confirm_password'].value) {
            alert(password_not_same);
            return false;
        }
        return true;
    }
</script>

<div class="cle cart_main">
    <div class="g_box from_com" style="float:left;">
        <div id="login-box">
            <h2>
                <div class="trig">没有帐号？<a href="{:U('Login/register')}" class="trigger-box">点击注册</a></div>
                登录</h2>
            <div class="form-bd" style="height:auto;">
                <div class="form_box cle" id="login-nala">
                    <div class="login_box" id="login-nala-form">
                        <form action="{:U('Cart/login')" method="post" name="loginForm" id="loginForm" onsubmit="return checkLoginForm(this)">
                            <ul class="form">
                                <li class="text_input"><span class="error_icon"></span><span class="iconfont">?</span>
                                    <input name="username" type="text" class="text" placeholder="用户名">
                                </li>
                                <li class="text_input"><span class="error_icon"></span><span class="iconfont">÷</span>
                                    <input name="password" type="password" class="text" placeholder="密码">
                                </li>
                                <li class="login_param">
                                    <p><a class="forget_psd" href="{:U('Login/register')}">忘记密码?</a>
                                        <label>
                                            <input type="checkbox" value="1" name="remember" id="remember" class="remember-me">
                                            请保存我这次的登录信息。</label>
                                    </p>
                                </li>
                                <li class="last" style="margin-bottom:0;">
                                    <input type="submit" name="submit" class="btn" value="登 录">
                                    <input name="act" type="hidden" value="signin">
                                </li>
                                <li class="last">
                                    <input type="button" class="btn" value="不打算登录，直接购买" onclick="location.href=&#39;{:U('Cart/consignee')}?direct_shopping=1&#39;">
                                </li>
                            </ul>
                        </form>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="g_box">
        <div id="register_box">
            <form action="{:U('Cart/login')" method="post" name="formUser" id="registerForm" onsubmit="return checkSignupForm(this)">
                <h2>
                    <div class="trig">已有账号? <a href="{:U('Cart/login')" class="trigger-box">点击登录</a> </div>
                    注册 </h2>
                <div class="register_infor">
                    <input type="hidden" id="sendtype">
                    <ul>
                        <li class="input_box"> <span class="t_text">用户名</span>
                            <input type="text" name="username" id="username" onblur="is_registered(this.value);" onkeyup="is_registered(this.value);">
                            <span class="error_icon"></span>
                        </li>
                        <li class="error_box" id="username_notice">
                            <em></em>
                        </li>
                        <li class="input_box"> <span class="t_text">密码</span>
                            <input type="password" name="password" id="password1" onblur="check_password(this.value);" onkeyup="check_password(this.value);checkIntensity(this.value);">
                            <span class="error_icon"></span> </li>
                        <li class="error_box" id="password_notice"> <em></em> </li>
                        <li class="input_box">
                            <span class="t_text">确认密码</span>
                            <input name="confirm_password" type="password" id="conform_password" onblur="check_conform_password(this.value);" onkeyup="check_conform_password(this.value);">
                            <span class="error_icon"></span> </li>
                        <li class="error_box" id="conform_password_notice">
                            <em></em>
                        </li>
                        <li class="lizi_law">
                            <label>
                                <input name="agreement" type="checkbox" value="1" checked="checked" tabindex="5" class="remember-me">
                                我已看过并接受《<a href="/" style="color:blue" target="_blank">用户协议</a>》
                            </label>
                        </li>
                        <li class="error_box">
                            <em></em>
                        </li>
                        <li class="go2register">
                            <input type="submit" name="Submit" class="btn submit_btn" value="注册新用户">
                            <input name="act" type="hidden" value="signup">
                        </li>
                    </ul>
                </div>
            </form>
        </div>
    </div>
</div>
<include file="Template/Home/default/foot.html" />
<script type="text/javascript">
    var process_request = "正在处理您的请求...";
    var username_empty = "用户名不能为空。";
    var username_shorter = "用户名长度不能少于 3 个字符。";
    var username_invalid = "用户名只能是由字母数字以及下划线组成。";
    var password_empty = "登录密码不能为空。";
    var password_shorter = "登录密码不能少于 6 个字符。";
    var confirm_password_invalid = "两次输入密码不一致";
    var email_empty = "Email 为空";
    var email_invalid = "Email 不是合法的地址";
    var mobile_empty = "手机号码不能为空";
    var mobile_invalid = "手机号码不正确";
    var agreement = "您没有接受协议";
    var msn_invalid = "msn地址不是一个有效的邮件地址";
    var qq_invalid = "QQ号码不是一个有效的号码";
    var home_phone_invalid = "家庭电话不是一个有效号码";
    var office_phone_invalid = "办公电话不是一个有效号码";
    var mobile_phone_invalid = "手机号码不是一个有效号码";
    var msg_un_blank = "用户名不能为空";
    var msg_un_length = "用户名最长不得超过7个汉字";
    var msg_un_format = "用户名含有非法字符";
    var msg_un_registered = "用户名已经存在,请重新输入";
    var msg_can_rg = "可以注册";
    var msg_email_blank = "邮件地址不能为空";
    var msg_email_registered = "邮箱已存在,请重新输入";
    var msg_email_format = "邮件地址不合法";
    var msg_blank = "不能为空";
    var no_select_question = "您没有完成密码提示问题的操作";
    var passwd_balnk = "- 密码中不能包含空格";
    var username_exist = "用户名 %s 已经存在";
    var compare_no_goods = "您没有选定任何需要比较的商品或者比较的商品数少于 2 个。";
    var btn_buy = "购买";
    var is_cancel = "取消";
    var select_spe = "请选择商品属性";
</script>
</body>
</html>